package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"orders/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/orders/list", &controllers.OrdersController{}, "post,get:List")
}
